package com.bw.gmall.realtime.common.util;

public class EmailUtil {
    public static String  judgeEmail(String email) {
        String emaltype="其他";
        if(email.equalsIgnoreCase("163.com")|| email.equalsIgnoreCase("126.com") ){
            emaltype="网易" ;
        }
        if(email.equalsIgnoreCase("139.com") ){
            emaltype="移动" ;
        }
        if(email.equalsIgnoreCase("sohu.com") ){
            emaltype="搜狐" ;
        }if(email.equalsIgnoreCase("qq.com") ){
            emaltype="qq" ;
        }if(email.equalsIgnoreCase("189.com") ){
            emaltype="tom" ;
        }if(email.equalsIgnoreCase("aliyun.com") ){
            emaltype="阿里" ;
        }
        if(email.equalsIgnoreCase("sina.com") ){
            emaltype="新浪" ;
        }
        return  emaltype;
    }
}
